package org.dromara.project.domain.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.project.domain.ProContract;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@AutoMapper(target = ProContract.class)
@Data
public class ProContractInfoVo implements Serializable {
    private Long id;
    private String contractName;
    private String contractNumber;
    private String ownerUnit;
    private String projectRegion;
    @Translation(type = TransConstant.REGION_ID_TO_NAME, mapper = "projectRegion")
    private String projectRegionName;
    private Long presidentId;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date conSignTime;
    private String conPeriod;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date conEndTime;
    private String conWorkContent;
    private String conQualityStandard;
    private BigDecimal conTotalAmount;
    private String paymentMethod;
    private String hasExtension;
    private String extensionContent;
    private String remark;
    // 如有其他BO字段请补全
}
